﻿@model Work.UI.Web.MVC.Models.Registration.EmployerModel

@{
    ViewBag.Title = "EmployerStep2";
    Layout = "~/Views/Shared/_MyLayout.cshtml";
}

@section Menu{
    @RenderPage("~/Views/Shared/_EmployerMenu.cshtml")
}

@{
    Html.EnableClientValidation(true);
}


<h2>EmployerStep2</h2>

@using (Html.BeginForm())
{
    <table>
        <tr>
            <td>
                Company
            </td>
            <td>
                @Html.TextBoxFor(model => model.Company)
                @Html.ValidationMessageFor(model => model.Company)
            </td>
        </tr>
        <tr>
            <td>
                Type
            </td>
            <td>
                @Html.TextBoxFor(model => model.Type)
                @Html.ValidationMessageFor(model => model.Type)
            </td>
        </tr>
        <tr>
            <td>Region</td>
            <td>
                @Html.DropDownListFor(model => model.IdRegion,new SelectList(ViewBag.Region,"Id","City"))
                @Html.ValidationMessageFor(model => model.IdRegion)
            </td>
        </tr>
        <tr>
            <td>
                Phone
            </td>
            <td>
                @Html.TextBoxFor(model => model.Phone)
                @Html.ValidationMessageFor(model => model.Phone)
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" />
            </td>
        </tr>
    </table>
}

